<template>
  <div class="goods">
    <PageContent
      :contentTableConfig="contentTableConfig"
      pageName="goods"
    >
     <template #image="scope">
        <el-image
          style="width: 100px; height: 100px"
          :src="scope.row.imgUrl"
          :preview-src-list="[scope.row.imgUrl]"
        >
        </el-image>
      </template> 
    
    </PageContent>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import PageContent from "@/components/page-content";
import { contentTableConfig } from "./content.config";

export default defineComponent({
  components: {
    PageContent,
  },
  name: "goods",
  setup() {
    return { contentTableConfig };
  },
});
</script>

<style scoped></style>
